class A {
    //comment1
    void method()
//comment2
    {
        if (a)
//comment3
        {
//comment4
        }
//comment5
    }
}